#Makefile for opengl tutorial programs
# by Joshua Clayton

CC = gcc -Wall -ansi
override CXXFLAGS += -DDEBUG -g
#override CXXFLAGS += -g
override LDLIBS += -lGL -lGLU -lglut

BINARIES := blah
all: $(BINARIES)

blah:
	g++ $(LDLIBS) $^ -o $@

clean:
	@echo Removing object files
	-rm *.o  $(BINARIES)

blah :\
winmain.o\
camera.o\
entity.o\
explosion.o\
font.o\
gui.o\
md2.o\
OGLWindow.o\
Particles.o\
ogro.o\
player.o\
rocket.o\
sod.o\
terrain.o\
texture.o\
world.o\
skybox.o\

wontcompile :\
DirectXAudio.o\
